package com.example.mq.enums;

public enum MsgConsumerStatusEnum
{
    INIT(0, "消费中"),
    SUCCESS(1, "消费成功"),
    FAIL(2, "消费失败");

    //状态
    private Integer status;

    //描述
    private String description;

    MsgConsumerStatusEnum(Integer status, String description)
    {
        this.status = status;
        this.description = description;
    }

    public Integer getStatus()
    {
        return status;
    }

    public String getDescription()
    {
        return description;
    }
}
